package com.haixiaoke.saas.order.mapper;

import com.haixiaoke.saas.order.domain.OrderHouseInspection;

import java.util.List;

/**
 * 订单验房信息Mapper接口
 *
 * @author qixi
 * @date 2024-04-09
 */
public interface OrderHouseInspectionMapper {
    /**
     * 查询订单验房信息
     *
     * @param inspectionId 订单验房信息主键
     * @return 订单验房信息
     */
    OrderHouseInspection selectOrderHouseInspectionByInspectionId(Long inspectionId);

    /**
     * 查询订单验房信息列表
     *
     * @param orderHouseInspection 订单验房信息
     * @return 订单验房信息集合
     */
    List<OrderHouseInspection> selectOrderHouseInspectionList(OrderHouseInspection orderHouseInspection);

    /**
     * 新增订单验房信息
     *
     * @param orderHouseInspection 订单验房信息
     * @return 结果
     */
    int insertOrderHouseInspection(OrderHouseInspection orderHouseInspection);

    /**
     * 修改订单验房信息
     *
     * @param orderHouseInspection 订单验房信息
     * @return 结果
     */
    int updateOrderHouseInspection(OrderHouseInspection orderHouseInspection);

    /**
     * 删除订单验房信息
     *
     * @param inspectionId 订单验房信息主键
     * @return 结果
     */
    int deleteOrderHouseInspectionByInspectionId(Long inspectionId);

    /**
     * 批量删除订单验房信息
     *
     * @param inspectionIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteOrderHouseInspectionByInspectionIds(Long[] inspectionIds);

    OrderHouseInspection selectOrderHouseInspectionByOrderId(String orderId);
}
